package com.woniuxy.drivershool;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**@EnableTransactionManagement  //开启事务注解支持
 * @EnableAspectJAutoProxy   //开启切面的动态代理支持
 * @EnableScheduling    //开启定时任务
 * @author Administrator
 */
@SpringBootApplication
@MapperScan("com.woniuxy.drivershool.mapper")
@EnableTransactionManagement
@EnableAspectJAutoProxy
@EnableScheduling
public class drivershoolApplication {

    public static void main(String[] args) {
        SpringApplication.run(drivershoolApplication.class, args);
    }

}
